package com.elt.http.model;

import java.util.List;
import java.util.Map;

/**
 * 
 * @author abu
 * 
 */

public class GetModel {

	private boolean onlyFromNet;
	private String url;
	private String dieId;

	public String getDieId() {
		return dieId;
	}

	public GetModel setDieId(String dieId) {
		this.dieId = dieId;
		return this;
	}

	private List<Map<String, Object>> result;

	public static final GetModel with() {
		return new GetModel();
	}

	public String getUrl() {
		return url;
	}

	public GetModel setUrl(String url) {
		this.url = url;
		return this;
	}

	public List<Map<String, Object>> getResult() {
		return result;
	}

	public GetModel setResult(List<Map<String, Object>> result) {
		this.result = result;
		return this;
	}

	public boolean isOnlyFromNet() {
		return onlyFromNet;
	}

	public GetModel setOnlyFromNet(boolean onlyFromNet) {
		this.onlyFromNet = onlyFromNet;
		return this;
	}

}
